const { program } = require("commander");
const package = require("./package.json");
const imagesToPdf = require("./img2pdf");

program
  .name(package.name)
  .description(package.description)
  .version(package.version)
  .argument("<inputs...>", "inputs")
  .option("-o, --output", "output")
  .action((inputs, { output }) => {
    imagesToPdf(inputs, output);
  });

program.parse();


